﻿using Basic.FlowRemoteModel.EventTemplate.Model;
using WeDonekRpc.Client;
using WeDonekRpc.Model;

namespace Basic.FlowService.Interface
{
    public interface IFlowEventInterService
    {
        long Add ( EventTemplateAdd data );
        void Delete ( long id );
        bool Disable ( long id );
        bool Enable ( long id );
        EventInterDto Get ( long id );
        EventInterItem[] GetItems ();
        Dictionary<long, string> GetNames ( long[] ids );
        PagingResult<EventInter> Query ( InterQueryParam query, IBasicPage paging );
        bool Set ( long id, EventTemplateSet data );
    }
}